import { MenuApi } from '../api.ts';
import http from '../http.ts';

/**
 * 查询所有菜单
 */
export function getMenus(params: any) {
    return http.get(
        MenuApi.GET_ALL_MENU, 
        params, 
        {
            loading: true
        }
    )
}